from beautifultable import BeautifulTable

table = BeautifulTable()
table.column_headers = ["姓名","年龄"]
table.append_row(["andy", 18])
table.append_row(["张三", 28])
table.append_row(["李四", 38])
table.append_row(["王五", 48])
table.append_row(["赵六", 58])
print(table)

